• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/crypto/openssl/apps/

Lines Matching refs:RET

47 my $RET = 0;
124 $RET = run("$REQ -new -x509 -keyout $NEWKEY -out $NEWCERT $DAYS $EXTRA{req}");
125 print "Cert is in $NEWCERT, private key is in $NEWKEY\n" if $RET == 0;
128 $RET = run("$REQ -x509 -precert -keyout $NEWKEY -out $NEWCERT $DAYS");
129 print "Pre-cert is in $NEWCERT, private key is in $NEWKEY\n" if $RET == 0;
132 $RET = run("$REQ -new $1 -keyout $NEWKEY -out $NEWREQ $DAYS $EXTRA{req}");
133 print "Request is in $NEWREQ, private key is in $NEWKEY\n" if $RET == 0;
155 $RET = run("$REQ -new -keyout"
158 $RET = run("$CA -create_serial"
162 . " -infiles ${CATOP}/$CAREQ") if $RET == 0;
163 print "CA certificate is in ${CATOP}/$CACERT\n" if $RET == 0;
168 $RET = run("$PKCS12 -in $NEWCERT -inkey $NEWKEY"
172 print "PKCS #12 file is in $NEWP12\n" if $RET == 0;
174 $RET = run("$CA -policy policy_anything $EXTRA{ca} -infiles $NEWREQ");
176 $RET = run("$CA -policy policy_anything -out $NEWCERT $EXTRA{ca} -infiles $NEWREQ");
177 print "Signed certificate is in $NEWCERT\n" if $RET == 0;
179 $RET = run("$CA -policy policy_anything -out $NEWCERT"
181 print "Signed CA certificate is in $NEWCERT\n" if $RET == 0;
183 $RET = run("$X509 -x509toreq -in $NEWREQ -signkey $NEWREQ"
185 $RET = run("$CA -policy policy_anything -out $NEWCERT"
186 . "$EXTRA{ca} -infiles tmp.pem") if $RET == 0;
187 print "Signed certificate is in $NEWCERT\n" if $RET == 0;
193 $RET = $status if $status != 0;
196 $RET = run("$CA -gencrl -out ${CATOP}/crl/$CACRL $EXTRA{ca}");
197 print "Generated CRL is in ${CATOP}/crl/$CACRL\n" if $RET == 0;
207 $RET = run("$CA -revoke \"$cname\"" . $reason . $EXTRA{ca});
214 exit $RET;