X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=ssl%2Fs2_lib.c;h=12b8458a584c4603e1903e348a8aeffcf88f22d7;hp=097c35ee68720625da993768296c592c061c100d;hb=207ccf628de96481d562b836eea4c3d653a95bfd;hpb=cd3916c40f96bdb180287c3dcb88102eda91b27f diff --git a/ssl/s2_lib.c b/ssl/s2_lib.c index 097c35ee68..12b8458a58 100644 --- a/ssl/s2_lib.c +++ b/ssl/s2_lib.c @@ -320,7 +320,7 @@ char *parg; /* This function needs to check if the ciphers required are actually * available */ SSL_CIPHER *ssl2_get_cipher_by_char(p) -unsigned char *p; +const unsigned char *p; { static int init=1; static SSL_CIPHER *sorted[SSL2_NUM_CIPHERS]; @@ -354,7 +354,7 @@ unsigned char *p; } int ssl2_put_cipher_by_char(c,p) -SSL_CIPHER *c; +const SSL_CIPHER *c; unsigned char *p; { long l;