Lines Matching refs:x509ss
173 X509 *x509ss=NULL;
932 if ((x509ss=X509_new()) == NULL) goto end;
935 if(extensions && !X509_set_version(x509ss, 2)) goto end;
938 if (!X509_set_serialNumber(x509ss, serial)) goto end;
943 X509_get_serialNumber(x509ss)))
947 if (!X509_set_issuer_name(x509ss, X509_REQ_get_subject_name(req))) goto end;
948 if (!X509_gmtime_adj(X509_get_notBefore(x509ss),0)) goto end;
949 if (!X509_gmtime_adj(X509_get_notAfter(x509ss), (long)60*60*24*days)) goto end;
950 if (!X509_set_subject_name(x509ss, X509_REQ_get_subject_name(req))) goto end;
952 if (!tmppkey || !X509_set_pubkey(x509ss,tmppkey)) goto end;
957 X509V3_set_ctx(&ext_ctx, x509ss, x509ss, NULL, NULL, 0);
962 &ext_ctx, extensions, x509ss))
970 if (!(i=X509_sign(x509ss,pkey,digest)))
1101 X509_print_ex(out, x509ss, nmflag, reqflag);
1109 print_name(out, "subject=", X509_get_subject_name(x509ss), nmflag);
1119 tpubkey=X509_get_pubkey(x509ss);
1155 if (!noout && x509 && (x509ss != NULL))
1158 i=i2d_X509_bio(out,x509ss);
1160 i=PEM_write_bio_X509(out,x509ss);
1186 X509_free(x509ss);