Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Record full path of the cert for openssl | 66e89d4e0eaf638859b39c791d82d233e2d0c2c2 | Catalin(ux) M. BOIE | 2023-03-03 18:41:57 |
Improve presentation | 0600fd3c6e5fcb0dd152d0e680ea85a8ae89bd86 | Catalin(ux) M. BOIE | 2022-12-09 17:46:09 |
More curl tracing info | 04013af7a216e6cf7f363b3895ffcebe78859a65 | Catalin(ux) M. BOIE | 2022-12-09 17:45:46 |
Added curl support | c374ad15d2d5548d168084c0e8506929803e9bf0 | Catalin(ux) M. BOIE | 2022-11-30 11:28:48 |
More Latex modules were missing | ff5bec2cfba2cf77e0115f89124cdeb83dfbc73d | Catalin(ux) M. BOIE | 2022-11-24 16:52:48 |
Forgot to add beamer | 1080ddc6497af77b66fd57eb7b9da0abaf75cb2a | Catalin(ux) M. BOIE | 2022-11-24 16:39:30 |
Mispelled docs | 463d312e5ddc8b237e03a4d9b4cfb33524393fb0 | Catalin(ux) M. BOIE | 2022-11-24 16:11:45 |
More docs updated | 83876ce8fcf9ae03c189e4fc7f354bf67f328916 | Catalin(ux) M. BOIE | 2022-11-24 15:59:05 |
Record bytes read/written on fds | 428c3905bb135725ac3bd2ecfe5949e434b179b5 | Catalin(ux) M. BOIE | 2022-11-24 15:58:25 |
A lot of small fixes | 9a5841916f3f0870ca091f457102c7512b21808a | Catalin(ux) M. BOIE | 2022-11-23 07:28:06 |
Added pthread_join + small fixes | a5206c335f8c858d791f114da7361190196ad4a4 | Catalin(ux) M. BOIE | 2022-11-21 14:05:31 |
Lots of updates | 5583e8dbd607b684a14ced92b4d2ffdacbcf57e1 | Catalin(ux) M. BOIE | 2022-11-18 05:40:05 |
mysql, sqlite3, depth | d9d83cafbd372d1055fa2e51cdf3deb2396f5d08 | Catalin(ux) M. BOIE | 2022-11-07 05:58:04 |
More spec fixes | 3867b17137b5397c3eeabdcbbc232417ad212a27 | Catalin(ux) M. BOIE | 2022-10-25 19:04:28 |
More spec fixes | 68abc4ce485fbbcc18a232e57b956f9e2b016d72 | Catalin(ux) M. BOIE | 2022-10-25 18:48:22 |
Fixed installation paths in Makefiles | c98920bd55f7cd2ebcec7083e2360009d8c16b29 | Catalin(ux) M. BOIE | 2022-10-25 18:19:49 |
Debian support added, create correctly the paths for install | 512c13ca06dda005504cdeab831431c943dde74a | Catalin(ux) M. BOIE | 2022-10-25 06:19:50 |
Bump version to 0.6 for a stupid reason (mass with dupdump) | c4d10510ddf944965a80d9a3e5f4ac62b84a103e | Catalin(ux) M. BOIE | 2022-10-25 06:04:33 |
History update | c83cd94af87636bc67bf9526ca0a65734ce96fac | Catalin(ux) M. BOIE | 2022-10-22 10:34:01 |
TODO update | b1cbf0845dada017466763126d8569f62ace4cb4 | Catalin(ux) M. BOIE | 2022-10-22 08:20:20 |
File | Lines added | Lines deleted |
---|---|---|
agent/openssl.c | 23 | 5 |
test/java/pg/pg1.java | 0 | 0 |
test/java/pg/pg1.run | 0 | 0 |
tools/.gitignore | 1 | 0 |
tools/Makefile | 26 | 0 |
tools/TODO | 2 | 0 |
tools/cert-notify.c | 0 | 0 |
File agent/openssl.c changed (mode: 100644) (index bbccac0..ce83c88) | |||
16 | 16 | #include <dlfcn.h> | #include <dlfcn.h> |
17 | 17 | #include <stdio.h> | #include <stdio.h> |
18 | 18 | #include <time.h> | #include <time.h> |
19 | #include <unistd.h> | ||
19 | 20 | ||
20 | 21 | #include "ninedogs.h" | #include "ninedogs.h" |
21 | 22 | #include "ids.h" | #include "ids.h" |
... | ... | BIO *BIO_new_file(const char *filename, const char *mode) | |
84 | 85 | prepare_info(); | prepare_info(); |
85 | 86 | ||
86 | 87 | last_bio = r; | last_bio = r; |
87 | snprintf(last_bio_file, sizeof(last_bio_file), "%s", filename); | ||
88 | |||
89 | char cwd[4096] = { 0 }; | ||
90 | if (filename[0] != '/') | ||
91 | getcwd(cwd, sizeof(cwd)); | ||
92 | |||
93 | snprintf(last_bio_file, sizeof(last_bio_file), "%s%s%s", | ||
94 | cwd, cwd[0] != '\0' ? "/" : "", filename); | ||
88 | 95 | ||
89 | 96 | return r; | return r; |
90 | 97 | } | } |
... | ... | X509 *PEM_read_bio_X509_AUX(BIO *bp, X509 **x, pem_password_cb *cb, void *u) | |
526 | 533 | return r; | return r; |
527 | 534 | } | } |
528 | 535 | ||
529 | #include <unistd.h> | ||
530 | |||
531 | 536 | const char *OpenSSL_version(int t) | const char *OpenSSL_version(int t) |
532 | 537 | { | { |
533 | 538 | const char *old; | const char *old; |
... | ... | OSSL_STORE_CTX *OSSL_STORE_open(const char *uri, | |
572 | 577 | post_process, post_process_data); | post_process, post_process_data); |
573 | 578 | ||
574 | 579 | last_store_ctx = r; | last_store_ctx = r; |
575 | snprintf(last_store_uri, sizeof(last_store_uri), "%s", uri); | ||
580 | |||
581 | char cwd[4096] = { 0 }; | ||
582 | if (!strchr(uri, ':')) | ||
583 | getcwd(cwd, sizeof(cwd)); | ||
584 | |||
585 | snprintf(last_store_uri, sizeof(last_store_uri), "%s%s%s", | ||
586 | cwd, cwd[0] != '\0' ? "/" : "", uri); | ||
587 | xlog(20, " last_store_uri=%s\n", __func__, last_store_uri); | ||
576 | 588 | ||
577 | 589 | return r; | return r; |
578 | 590 | } | } |
... | ... | OSSL_STORE_CTX *OSSL_STORE_open_ex(const char *uri, | |
609 | 621 | params, post_process, post_process_data); | params, post_process, post_process_data); |
610 | 622 | ||
611 | 623 | last_store_ctx = r; | last_store_ctx = r; |
612 | snprintf(last_store_uri, sizeof(last_store_uri), "%s", uri); | ||
624 | char cwd[4096] = { 0 }; | ||
625 | if (!strchr(uri, ':')) | ||
626 | getcwd(cwd, sizeof(cwd)); | ||
627 | |||
628 | snprintf(last_store_uri, sizeof(last_store_uri), "%s%s%s", | ||
629 | cwd, cwd[0] != '\0' ? "/" : "", uri); | ||
630 | xlog(20, " last_store_uri=%s\n", __func__, last_store_uri); | ||
613 | 631 | ||
614 | 632 | return r; | return r; |
615 | 633 | } | } |
File test/java/pg/pg1.java renamed from test/java/jdbc/pg1.java (similarity 100%) |
File test/java/pg/pg1.run renamed from test/java/jdbc/1.run (similarity 100%) |
File tools/.gitignore added (mode: 100644) (index 0000000..e30f9ac) | |||
1 | cert-notify |
File tools/Makefile added (mode: 100644) (index 0000000..3ae7ac7) | |||
1 | include ../Makefile.common | ||
2 | |||
3 | COMMON_H += ../common/ids.h ../common/tools.h ../common/decode_text.h \ | ||
4 | ../common/params.h \ | ||
5 | ctools.h | ||
6 | |||
7 | CFLAGS += -I../common | ||
8 | |||
9 | OBJS := \ | ||
10 | ../common/tools.o ../common/info.o ../common/decode_text.o | ||
11 | |||
12 | ALL_TOOLS := cert-notify | ||
13 | |||
14 | all: $(ALL_TOOLS) | ||
15 | |||
16 | cert-notify: cert-notify.c Makefile $(COMMON_H) $(OBJS) | ||
17 | $(CC) $(CFLAGS) $@.c -o $@ $(OBJS) | ||
18 | |||
19 | .PHONY: clean | ||
20 | clean: | ||
21 | @rm -f $(ALL_TOOLS) | ||
22 | |||
23 | install: all | ||
24 | @mkdir -p $(if $(I_USR_BIN), $(I_USR_BIN), /usr/bin) | ||
25 | cp -vd $(ALL_TOOLS) $(I_USR_BIN) | ||
26 |
File tools/TODO added (mode: 100644) (index 0000000..acdcb58) | |||
1 | [ ] Log when the cert was last time used. | ||
2 | [ ] |
File tools/cert-notify.c copied from file debian/conffiles (similarity 100%) |