| /openbsd/src/lib/libcrypto/ |
| D | format-pem.pl | 54 my $subj = `openssl x509 -in $t -noout -subject`; 55 $subj =~ s/^subject= (.*)\n/$1/; 61 $o = $subj; 64 if (defined $ca{$o}{$subj}) { 65 print STDERR "ERROR: '$subj': duplicate\n"; 66 $ca{$o}{$subj}{'valid'} = 0; 69 $ca{$o}{$subj}{'valid'} = 1; 71 if ($issuer ne $subj) { 72 print STDERR "ERROR: '$subj' not self-signed"; 73 $ca{$o}{$subj}{'valid'} = 0; [all …]
|
| /openbsd/src/usr.bin/vacation/ |
| D | vacation.c | 74 char subj[MAXLINE]; variable 283 if (strlcpy(subj, p, sizeof(subj)) >= sizeof(subj)) { in readheaders() 288 subj[strcspn(subj, "\n")] = '\0'; in readheaders() 495 fputs(subj, sfp); in sendmessage()
|
| /openbsd/src/regress/lib/libssl/interop/ |
| D | Makefile.inc | 47 -subj /L=OpenBSD/O=tls-regress/OU=server/CN=${@:R}/ \ 52 -subj /L=OpenBSD/O=tls-regress/OU=ca/CN=root/ \ 57 -subj /L=OpenBSD/O=tls-regress/OU=${@:R}/CN=localhost/ \ 78 -subj /L=OpenBSD/O=tls-regress/OU=${@:R}/CN=localhost/ \
|
| /openbsd/src/regress/lib/libssl/certs/ |
| D | make-certs.sh | 109 -subj "${SUBJECT} ${name}" -keyout "${TMPDIR}/${file}.key" \ 120 -subj "${SUBJECT} ${name}" -keyout "${TMPDIR}/${file}.key" \ 134 -subj "${SUBJECT} ${name}" -keyout "${TMPDIR}/${file}.key" \ 148 -subj "${SUBJECT} ${name}" -keyout "${TMPDIR}/${file}.key" \ 163 -subj "${SUBJECT} ${name}" -keyout "${TMPDIR}/${file}.key" \
|
| /openbsd/src/regress/lib/libcrypto/certs/ |
| D | make-certs.sh | 91 -subj "${SUBJECT} ${name}" -keyout "${TMPDIR}/${file}.key" \ 100 -subj "${SUBJECT} ${name}" -keyout "${TMPDIR}/${file}.key" \ 114 -subj "${SUBJECT} ${name}" -keyout "${TMPDIR}/${file}.key" \ 126 -subj "${SUBJECT} ${name}" -keyout "${TMPDIR}/${file}.key" \ 139 -subj "${SUBJECT} ${name}" -keyout "${TMPDIR}/${file}.key" \ 151 -subj "${SUBJECT} ${name}" -keyout "${TMPDIR}/${file}.key" \
|
| /openbsd/src/usr.bin/openssl/ |
| D | req.c | 106 static int build_subject(X509_REQ * req, char *subj, unsigned long chtype, 164 char *subj; member 483 .opt.arg = &cfg.subj, 871 i = make_REQ(req, pkey, cfg.subj, cfg.multirdn, !cfg.x509, cfg.chtype); in req_main() 872 cfg.subj = NULL; /* done processing '-subj' option */ in req_main() 966 if (cfg.subj && cfg.x509) { in req_main() 970 if (cfg.subj && !cfg.x509) { in req_main() 975 if (build_subject(req, cfg.subj, cfg.chtype, cfg.multirdn) == 0) { in req_main() 1127 make_REQ(X509_REQ * req, EVP_PKEY * pkey, char *subj, int multirdn, in make_REQ() argument 1171 if (subj) in make_REQ() [all …]
|
| D | ca.c | 126 STACK_OF(CONF_VALUE) *policy, CA_DB *db, BIGNUM *serial, char *subj, 133 STACK_OF(CONF_VALUE) *policy, CA_DB *db, BIGNUM *serial, char *subj, 142 STACK_OF(CONF_VALUE) *policy, CA_DB *db, BIGNUM *serial, char *subj, 201 char *subj; member 565 .opt.arg = &cfg.subj, 1147 cfg.subj, cfg.chtype, in ca_main() 1171 cfg.subj, cfg.chtype, in ca_main() 1196 cfg.subj, cfg.chtype, in ca_main() 1537 STACK_OF(CONF_VALUE) *policy, CA_DB *db, BIGNUM *serial, char *subj, in certify() argument 1591 subj, chtype, multirdn, email_dn, startdate, enddate, days, batch, in certify() [all …]
|
| /openbsd/src/regress/usr.sbin/httpd/tests/ |
| D | Makefile | 71 …openssl req -batch -new -subj /L=OpenBSD/O=httpd-regress/OU=ca/CN=root/ -nodes -newkey rsa -keyout… 74 …openssl req -batch -new -subj /L=OpenBSD/O=httpd-regress/OU=server/CN=localhost/ -nodes -newkey rs… 77 …openssl req -batch -new -subj /L=OpenBSD/O=httpd-regress/OU=client/CN=localhost/ -nodes -newkey rs…
|
| /openbsd/src/sbin/iked/ |
| D | ca.c | 716 X509_NAME *issuer, *subj; in ca_chain_by_issuer() local 735 if ((subj = X509_get_subject_name(cert)) == NULL) in ca_chain_by_issuer() 738 if (X509_NAME_cmp(subj, issuer) == 0) in ca_chain_by_issuer() 740 n = ca_chain_by_issuer(store, subj, id, in ca_chain_by_issuer() 767 X509_NAME *subj; in ca_getreq() local 816 subj = X509_get_subject_name(ca); in ca_getreq() 817 if (subj == NULL) in ca_getreq() 819 subj_name = X509_NAME_oneline(subj, NULL, 0); in ca_getreq() 825 chain_len = ca_chain_by_issuer(store, subj, &id, in ca_getreq() 878 subj = X509_get_subject_name(cert); in ca_getreq() [all …]
|
| /openbsd/src/usr.bin/mail/ |
| D | cmd3.c | 252 reedit(char *subj) in reedit() argument 257 if (subj == NULL) in reedit() 259 if (strncasecmp(subj, "re:", 3) == 0) in reedit() 260 return(subj); in reedit() 261 len = strlen(subj) + 5; in reedit() 264 strlcat(newsubj, subj, len); in reedit()
|
| /openbsd/src/regress/usr.sbin/relayd/ |
| D | Makefile | 76 -subj /L=OpenBSD/O=relayd-regress/OU=relayd/CN=${ip}/ \ 92 -subj /L=OpenBSD/O=relayd-regress/OU=${@:R}/CN=root/ \ 98 -subj /L=OpenBSD/O=relayd-regress/OU=${@:R}/CN=localhost/ \
|
| /openbsd/src/regress/usr.sbin/syslogd/ |
| D | Makefile | 79 …openssl req -batch -new -subj /L=OpenBSD/O=syslogd-regress/OU=syslogd/CN=127.0.0.1/ -nodes -newkey… 92 …openssl req -batch -new -subj /L=OpenBSD/O=syslogd-regress/OU=ca/CN=root/ -nodes -newkey rsa -keyo… 95 …openssl req -batch -new -subj /L=OpenBSD/O=syslogd-regress/OU=${@:R}/CN=localhost/ -nodes -newkey … 98 …openssl req -batch -new -subj /L=OpenBSD/O=syslogd-regress/OU=${@:R}/CN=myhost/ -nodes -newkey rsa…
|
| /openbsd/src/regress/lib/libcrypto/CA/ |
| D | Makefile | 62 -subj '/CN=server.openbsd.org/OU=So and Sos/O=OpenBSD/C=CA' \ 80 -subj '/CN=client/OU=So and Sos/O=OpenBSD/C=CA' \
|
| /openbsd/src/regress/lib/libssl/tlsfuzzer/ |
| D | Makefile | 13 -subj /CN=localhost -nodes -batch
|
| /openbsd/src/lib/libcrypto/x509/ |
| D | x509_conf.c | 431 X509V3_set_ctx(X509V3_CTX *ctx, X509 *issuer, X509 *subj, X509_REQ *req, in X509V3_set_ctx() argument 435 ctx->subject_cert = subj; in X509V3_set_ctx()
|
| /openbsd/src/regress/usr.bin/nc/ |
| D | Makefile | 1084 -subj /L=OpenBSD/O=netcat-regress/OU=server/CN=${@:R}/ \ 1089 -subj /L=OpenBSD/O=netcat-regress/OU=server/CN=::1/ \ 1094 -subj /L=OpenBSD/O=netcat-regress/OU=ca/CN=root/ \ 1099 -subj /L=OpenBSD/O=netcat-regress/OU=${@:R}/CN=localhost/ \
|
| /openbsd/src/regress/usr.bin/openssl/ |
| D | appstest.sh | 617 subj='/C=JP/ST=Tokyo/O=TEST_DUMMY_COMPANY/CN=testCA.test-dummy.com/' 619 subj='//C=JP\ST=Tokyo\O=TEST_DUMMY_COMPANY\CN=testCA.test-dummy.com\'
|
| /openbsd/src/regress/sbin/iked/live/ |
| D | Makefile | 210 openssl req -subj "/C=DE/ST=Bavaria/L=Munich/O=iked/CN=$$caname" \
|