diff options
Diffstat (limited to 'src/lib/libcrypto/pem/pem_pkey.c')
-rw-r--r-- | src/lib/libcrypto/pem/pem_pkey.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/pem/pem_pkey.c b/src/lib/libcrypto/pem/pem_pkey.c index 8ecf24903b..ef152be264 100644 --- a/src/lib/libcrypto/pem/pem_pkey.c +++ b/src/lib/libcrypto/pem/pem_pkey.c | |||
@@ -147,7 +147,7 @@ int PEM_write_bio_PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, | |||
147 | (char *)kstr, klen, | 147 | (char *)kstr, klen, |
148 | cb, u); | 148 | cb, u); |
149 | 149 | ||
150 | BIO_snprintf(pem_str, 80, "%s PRIVATE KEY", x->ameth->pem_str); | 150 | (void) snprintf(pem_str, 80, "%s PRIVATE KEY", x->ameth->pem_str); |
151 | return PEM_ASN1_write_bio((i2d_of_void *)i2d_PrivateKey, | 151 | return PEM_ASN1_write_bio((i2d_of_void *)i2d_PrivateKey, |
152 | pem_str,bp,x,enc,kstr,klen,cb,u); | 152 | pem_str,bp,x,enc,kstr,klen,cb,u); |
153 | } | 153 | } |
@@ -199,7 +199,7 @@ int PEM_write_bio_Parameters(BIO *bp, EVP_PKEY *x) | |||
199 | if (!x->ameth || !x->ameth->param_encode) | 199 | if (!x->ameth || !x->ameth->param_encode) |
200 | return 0; | 200 | return 0; |
201 | 201 | ||
202 | BIO_snprintf(pem_str, 80, "%s PARAMETERS", x->ameth->pem_str); | 202 | (void) snprintf(pem_str, 80, "%s PARAMETERS", x->ameth->pem_str); |
203 | return PEM_ASN1_write_bio( | 203 | return PEM_ASN1_write_bio( |
204 | (i2d_of_void *)x->ameth->param_encode, | 204 | (i2d_of_void *)x->ameth->param_encode, |
205 | pem_str,bp,x,NULL,NULL,0,0,NULL); | 205 | pem_str,bp,x,NULL,NULL,0,0,NULL); |