summaryrefslogtreecommitdiff
path: root/src/common.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2005-03-05 17:28:32 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2005-03-05 17:28:32 +0000
commitbf8e6543f1466d29edffb8b22dc827cb2eda1572 (patch)
tree5651729feeb41dbf0f027aabe4b17d512e3917c3 /src/common.c
parent766e1af1288059a393e101264be1290cfaeb50f2 (diff)
downloadgnutls-bf8e6543f1466d29edffb8b22dc827cb2eda1572.tar.gz
renamed all instances of _SHA to _SHA1 to make naming more consistent and clear.
Diffstat (limited to 'src/common.c')
-rw-r--r--src/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.c b/src/common.c
index ad073330bb..aa8011752f 100644
--- a/src/common.c
+++ b/src/common.c
@@ -648,7 +648,7 @@ void parse_macs(char **macs, int nmacs, int *mac_priority)
else if (strncasecmp(macs[i], "RMD", 3) == 0)
mac_priority[j++] = GNUTLS_MAC_RMD160;
else if (strncasecmp(macs[i], "SHA", 3) == 0)
- mac_priority[j++] = GNUTLS_MAC_SHA;
+ mac_priority[j++] = GNUTLS_MAC_SHA1;
else
fprintf(stderr, "Unknown MAC: '%s'\n", macs[i]);
}