diff options
Diffstat (limited to 'src/lib/libcrypto/asn1/t_pkey.c')
-rw-r--r-- | src/lib/libcrypto/asn1/t_pkey.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libcrypto/asn1/t_pkey.c b/src/lib/libcrypto/asn1/t_pkey.c index 0dc6e30c3d..e570ed1c47 100644 --- a/src/lib/libcrypto/asn1/t_pkey.c +++ b/src/lib/libcrypto/asn1/t_pkey.c | |||
@@ -133,7 +133,7 @@ int RSA_print(BIO *bp, RSA *x, int off) | |||
133 | if (!print(bp,"coefficient:",x->iqmp,m,off)) goto err; | 133 | if (!print(bp,"coefficient:",x->iqmp,m,off)) goto err; |
134 | ret=1; | 134 | ret=1; |
135 | err: | 135 | err: |
136 | if (m != NULL) Free((char *)m); | 136 | if (m != NULL) Free(m); |
137 | return(ret); | 137 | return(ret); |
138 | } | 138 | } |
139 | #endif /* NO_RSA */ | 139 | #endif /* NO_RSA */ |
@@ -204,7 +204,7 @@ int DSA_print(BIO *bp, DSA *x, int off) | |||
204 | if ((x->g != NULL) && !print(bp,"G: ",x->g,m,off)) goto err; | 204 | if ((x->g != NULL) && !print(bp,"G: ",x->g,m,off)) goto err; |
205 | ret=1; | 205 | ret=1; |
206 | err: | 206 | err: |
207 | if (m != NULL) Free((char *)m); | 207 | if (m != NULL) Free(m); |
208 | return(ret); | 208 | return(ret); |
209 | } | 209 | } |
210 | #endif /* !NO_DSA */ | 210 | #endif /* !NO_DSA */ |
@@ -298,7 +298,7 @@ int DHparams_print(BIO *bp, DH *x) | |||
298 | if (!print(bp,"generator:",x->g,m,4)) goto err; | 298 | if (!print(bp,"generator:",x->g,m,4)) goto err; |
299 | if (x->length != 0) | 299 | if (x->length != 0) |
300 | { | 300 | { |
301 | if (BIO_printf(bp," recomented-private-length: %d bits\n", | 301 | if (BIO_printf(bp," recommended-private-length: %d bits\n", |
302 | (int)x->length) <= 0) goto err; | 302 | (int)x->length) <= 0) goto err; |
303 | } | 303 | } |
304 | ret=1; | 304 | ret=1; |
@@ -307,7 +307,7 @@ int DHparams_print(BIO *bp, DH *x) | |||
307 | err: | 307 | err: |
308 | DHerr(DH_F_DHPARAMS_PRINT,reason); | 308 | DHerr(DH_F_DHPARAMS_PRINT,reason); |
309 | } | 309 | } |
310 | if (m != NULL) Free((char *)m); | 310 | if (m != NULL) Free(m); |
311 | return(ret); | 311 | return(ret); |
312 | } | 312 | } |
313 | #endif | 313 | #endif |
@@ -352,7 +352,7 @@ int DSAparams_print(BIO *bp, DSA *x) | |||
352 | if (!print(bp,"g:",x->g,m,4)) goto err; | 352 | if (!print(bp,"g:",x->g,m,4)) goto err; |
353 | ret=1; | 353 | ret=1; |
354 | err: | 354 | err: |
355 | if (m != NULL) Free((char *)m); | 355 | if (m != NULL) Free(m); |
356 | DSAerr(DSA_F_DSAPARAMS_PRINT,reason); | 356 | DSAerr(DSA_F_DSAPARAMS_PRINT,reason); |
357 | return(ret); | 357 | return(ret); |
358 | } | 358 | } |