Make SSL_CIPHER_get_version return a const char *

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>

MR: #1595
This commit is contained in:
Kurt Roeckx
2016-02-07 20:11:56 +01:00
parent 6063453c5a
commit b11836a63a
3 changed files with 3 additions and 3 deletions

View File

@@ -1807,7 +1807,7 @@ char *SSL_CIPHER_description(const SSL_CIPHER *cipher, char *buf, int len)
return (buf);
}
char *SSL_CIPHER_get_version(const SSL_CIPHER *c)
const char *SSL_CIPHER_get_version(const SSL_CIPHER *c)
{
uint32_t alg_ssl;