diff options
author | tobhe <> | 2022-11-08 19:19:08 +0000 |
---|---|---|
committer | tobhe <> | 2022-11-08 19:19:08 +0000 |
commit | c5e5c8535eaf416cc6e8ec82dd1c254315b02397 (patch) | |
tree | ad0a5cc19504aca9202b846a9884bab694466d50 | |
parent | 5ca237600d9aeab76b21ef0f92fec99dc84bdc22 (diff) | |
download | openbsd-c5e5c8535eaf416cc6e8ec82dd1c254315b02397.tar.gz openbsd-c5e5c8535eaf416cc6e8ec82dd1c254315b02397.tar.bz2 openbsd-c5e5c8535eaf416cc6e8ec82dd1c254315b02397.zip |
Rename out to err to conform with standard naming scheme.
-rw-r--r-- | src/lib/libcrypto/rsa/rsa_prn.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/rsa/rsa_prn.c b/src/lib/libcrypto/rsa/rsa_prn.c index 46e09dc117..12f600d674 100644 --- a/src/lib/libcrypto/rsa/rsa_prn.c +++ b/src/lib/libcrypto/rsa/rsa_prn.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rsa_prn.c,v 1.8 2022/11/08 12:59:36 tobhe Exp $ */ | 1 | /* $OpenBSD: rsa_prn.c,v 1.9 2022/11/08 19:19:08 tobhe Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2006. | 3 | * project 2006. |
4 | */ | 4 | */ |
@@ -85,13 +85,13 @@ RSA_print(BIO *bp, const RSA *x, int off) | |||
85 | int ret = 0; | 85 | int ret = 0; |
86 | 86 | ||
87 | if ((pk = EVP_PKEY_new()) == NULL) | 87 | if ((pk = EVP_PKEY_new()) == NULL) |
88 | goto out; | 88 | goto err; |
89 | 89 | ||
90 | if (!EVP_PKEY_set1_RSA(pk, (RSA *)x)) | 90 | if (!EVP_PKEY_set1_RSA(pk, (RSA *)x)) |
91 | goto out; | 91 | goto err; |
92 | 92 | ||
93 | ret = EVP_PKEY_print_private(bp, pk, off, NULL); | 93 | ret = EVP_PKEY_print_private(bp, pk, off, NULL); |
94 | out: | 94 | err: |
95 | EVP_PKEY_free(pk); | 95 | EVP_PKEY_free(pk); |
96 | return ret; | 96 | return ret; |
97 | } | 97 | } |