diff --git a/contrib/pgcrypto/expected/hmac-sha1.out b/contrib/pgcrypto/expected/hmac-sha1.out
index d5f1cf2597..de605b804e 100644
--- a/contrib/pgcrypto/expected/hmac-sha1.out
+++ b/contrib/pgcrypto/expected/hmac-sha1.out
@@ -1,5 +1,5 @@
 --
--- HMAC-MD5
+-- HMAC-SHA1
 --
 SELECT encode(hmac(
 'Hi There',
diff --git a/contrib/pgcrypto/sql/hmac-sha1.sql b/contrib/pgcrypto/sql/hmac-sha1.sql
index 6f741934bf..3bc965578c 100644
--- a/contrib/pgcrypto/sql/hmac-sha1.sql
+++ b/contrib/pgcrypto/sql/hmac-sha1.sql
@@ -1,5 +1,5 @@
 --
--- HMAC-MD5
+-- HMAC-SHA1
 --
 
 SELECT encode(hmac(
