]> Savannah Git Hosting - gnulib.git/commitdiff
md5-stream, sha*-stream, sm3-stream: Avoid duplicate symbols.
authorJan Palus <jpalus@fastmail.com>
Sun, 17 Nov 2024 17:58:42 +0000 (18:58 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 1 Dec 2024 06:58:47 +0000 (07:58 +0100)
* lib/md5-stream.c (GL_OPENSSL_INLINE): Remove definition, that caused
the symbols defined in md5.o to be defined in md5-stream.o as well.
* lib/sha1-stream.c (GL_OPENSSL_INLINE): Likewise.
* lib/sha256-stream.c (GL_OPENSSL_INLINE): Likewise.
* lib/sha512-stream.c (GL_OPENSSL_INLINE): Likewise.
* lib/sm3-stream.c (GL_OPENSSL_INLINE): Likewise.

Copyright-paperwork-exempt: Yes

ChangeLog
lib/md5-stream.c
lib/sha1-stream.c
lib/sha256-stream.c
lib/sha512-stream.c
lib/sm3-stream.c

index 2ab1a90226675c56db7fd87ebd8b09a32663ab54..b3a1b99bef5bca643dea113f840317062f44b429 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2024-11-17  Jan Palus  <jpalus@fastmail.com>  (tiny change)
+
+       md5-stream, sha*-stream, sm3-stream: Avoid duplicate symbols.
+       * lib/md5-stream.c (GL_OPENSSL_INLINE): Remove definition, that caused
+       the symbols defined in md5.o to be defined in md5-stream.o as well.
+       * lib/sha1-stream.c (GL_OPENSSL_INLINE): Likewise.
+       * lib/sha256-stream.c (GL_OPENSSL_INLINE): Likewise.
+       * lib/sha512-stream.c (GL_OPENSSL_INLINE): Likewise.
+       * lib/sm3-stream.c (GL_OPENSSL_INLINE): Likewise.
+
 2024-11-14  Bruno Haible  <bruno@clisp.org>
 
        pthread-rwlock: Fix configure test for AIX with xlc.
index c82f18145e0176d2ecbde9891cb727ff711b5de6..feb1740291e8aa39ee51e7162c9f45d32ad53635 100644 (file)
@@ -22,9 +22,6 @@
 #include <config.h>
 
 /* Specification.  */
-#if HAVE_OPENSSL_MD5
-# define GL_OPENSSL_INLINE _GL_EXTERN_INLINE
-#endif
 #include "md5.h"
 
 #include <stdlib.h>
index 7bf44e5ea3f779b2960c8bf66e98e280a999a81d..d2f92e8f566bde0d0a597686a6be3b34f9a241b0 100644 (file)
@@ -24,9 +24,6 @@
 #include <config.h>
 
 /* Specification.  */
-#if HAVE_OPENSSL_SHA1
-# define GL_OPENSSL_INLINE _GL_EXTERN_INLINE
-#endif
 #include "sha1.h"
 
 #include <stdlib.h>
index 08d24b7bfc90cb8a1d8b26576b4b7d53064a4db4..bae0a9c5a0ed1109101ec21aad8d02b379d5b817 100644 (file)
@@ -23,9 +23,6 @@
 #include <config.h>
 
 /* Specification.  */
-#if HAVE_OPENSSL_SHA256
-# define GL_OPENSSL_INLINE _GL_EXTERN_INLINE
-#endif
 #include "sha256.h"
 
 #include <stdlib.h>
index 74fdd5047dc6132a5fec9049fc32e240ca87fcbe..6362e55a6a6685f67108be89f657c18302bacd23 100644 (file)
@@ -23,9 +23,6 @@
 #include <config.h>
 
 /* Specification.  */
-#if HAVE_OPENSSL_SHA512
-# define GL_OPENSSL_INLINE _GL_EXTERN_INLINE
-#endif
 #include "sha512.h"
 
 #include <stdlib.h>
index c534edb12650f2f652b08e5f3b1f198e93ab7a0e..f158f003300dcf0c05a42dca0ecfc6939c46469e 100644 (file)
@@ -26,9 +26,6 @@
 #include <config.h>
 
 /* Specification.  */
-#if HAVE_OPENSSL_SM3
-# define GL_OPENSSL_INLINE _GL_EXTERN_INLINE
-#endif
 #include "sm3.h"
 
 #include <stdlib.h>