summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-08-17 15:43:15 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-08-17 15:43:15 +0000
commitcdcb2d3189a0ec634e8ec2dc0e0ab5c65cf18cea (patch)
tree3a3eab5f257bd5d5ac0424b88f06aa6bc8961ea2
parentdd494d951bb079759c37d460a2905ca423ba9f77 (diff)
downloadgnutls-cdcb2d3189a0ec634e8ec2dc0e0ab5c65cf18cea.tar.gz
*** empty log message ***
-rw-r--r--lib/gnutls_algorithms.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gnutls_algorithms.c b/lib/gnutls_algorithms.c
index 849284ccd9..53e27d30c0 100644
--- a/lib/gnutls_algorithms.c
+++ b/lib/gnutls_algorithms.c
@@ -835,7 +835,7 @@ const char *_gnutls_cipher_suite_get_name(GNUTLS_CipherSuite suite)
/* avoid prefix */
GNUTLS_CIPHER_SUITE_ALG_LOOP(ret =
- p->name + sizeof("GNU") -
+ p->name + sizeof("GNUTLS_") -
1);
return ret;
@@ -860,7 +860,7 @@ const char *gnutls_cipher_suite_get_name(GNUTLS_KXAlgorithm kx_algorithm,
if (kx_algorithm == p->kx_algorithm &&
cipher_algorithm == p->block_algorithm &&
mac_algorithm == p->mac_algorithm)
- ret = p->name + sizeof("GNU") - 1);
+ ret = p->name + sizeof("GNUTLS_") - 1);
return ret;
}