summaryrefslogtreecommitdiffstats
path: root/crypto/asn1/t_pkey.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-11-07 15:30:37 +0100
committerRichard Levitte <levitte@openssl.org>2000-11-07 15:30:37 +0100
commitf971ccb2646828aee104c5be5deab9991f0a4d2b (patch)
treef990bcc1e3528a3ad57581a3384752d4758ca376 /crypto/asn1/t_pkey.c
parentConstify DSA-related code. (diff)
downloadopenssl-f971ccb2646828aee104c5be5deab9991f0a4d2b.tar.xz
openssl-f971ccb2646828aee104c5be5deab9991f0a4d2b.zip
Constify DH-related code.
Diffstat (limited to 'crypto/asn1/t_pkey.c')
-rw-r--r--crypto/asn1/t_pkey.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/asn1/t_pkey.c b/crypto/asn1/t_pkey.c
index 644349df4e..62bc704d32 100644
--- a/crypto/asn1/t_pkey.c
+++ b/crypto/asn1/t_pkey.c
@@ -261,7 +261,7 @@ static int print(BIO *bp, const char *number, BIGNUM *num, unsigned char *buf,
#ifndef NO_DH
#ifndef NO_FP_API
-int DHparams_print_fp(FILE *fp, DH *x)
+int DHparams_print_fp(FILE *fp, const DH *x)
{
BIO *b;
int ret;
@@ -278,7 +278,7 @@ int DHparams_print_fp(FILE *fp, DH *x)
}
#endif
-int DHparams_print(BIO *bp, DH *x)
+int DHparams_print(BIO *bp, const DH *x)
{
unsigned char *m=NULL;
int reason=ERR_R_BUF_LIB,i,ret=0;