Skip to content
This repository was archived by the owner on Jan 26, 2026. It is now read-only.

Commit f301109

Browse files
committed
project: Update for 1.10.2 merge.
1 parent 85d9376 commit f301109

4 files changed

Lines changed: 32 additions & 27 deletions

File tree

SMP/SMP.patch

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ index c8a1097a..4b2eccf3 100644
4040
# endif
4141
# endif
4242
diff --git a/cipher/cipher-poly1305.c b/cipher/cipher-poly1305.c
43-
index bb475236..f01b858f 100644
43+
index 9abd8b0c..3d136b88 100644
4444
--- a/cipher/cipher-poly1305.c
4545
+++ b/cipher/cipher-poly1305.c
4646
@@ -71,7 +71,7 @@ poly1305_fill_bytecounts (gcry_cipher_hd_t c)
@@ -190,7 +190,7 @@ index c24921ee..b59726d6 100644
190190
mpi_ptr_t wp;
191191

192192
diff --git a/mpi/longlong.h b/mpi/longlong.h
193-
index 39cdd0c2..02cb2c3c 100644
193+
index c299534c..446dd62c 100644
194194
--- a/mpi/longlong.h
195195
+++ b/mpi/longlong.h
196196
@@ -98,7 +98,7 @@ MA 02111-1307, USA. */
@@ -290,7 +290,7 @@ index 85d11789..12cf6409 100644
290290
#if USE_RNDW32CE
291291
return _gcry_rndw32ce_gather_random_fast;
292292
diff --git a/random/random-drbg.c b/random/random-drbg.c
293-
index a42b9ce8..005534ce 100644
293+
index af49a5a5..028e3000 100644
294294
--- a/random/random-drbg.c
295295
+++ b/random/random-drbg.c
296296
@@ -149,7 +149,9 @@
@@ -318,7 +318,7 @@ index a42b9ce8..005534ce 100644
318318

319319

320320
/******************************************************************
321-
@@ -628,12 +638,16 @@ drbg_get_entropy (drbg_state_t drbg, unsigned char *buffer,
321+
@@ -622,12 +632,16 @@ drbg_get_entropy (drbg_state_t drbg, unsigned char *buffer,
322322
rc = _gcry_rndunix_gather_random (drbg_read_cb, 0, len,
323323
GCRY_VERY_STRONG_RANDOM);
324324
#elif USE_RNDW32
@@ -394,7 +394,7 @@ index c0435d7b..cc8b6e26 100644
394394
/* If not NULL a progress function called from certain places and the
395395
opaque value passed along. Registered by
396396
diff --git a/random/rndgetentropy.c b/random/rndgetentropy.c
397-
index 7580873e..a4cf456a 100644
397+
index 513da0b9..ffa15717 100644
398398
--- a/random/rndgetentropy.c
399399
+++ b/random/rndgetentropy.c
400400
@@ -25,7 +25,9 @@
@@ -408,7 +408,7 @@ index 7580873e..a4cf456a 100644
408408
#include <sys/random.h>
409409
#endif
410410
diff --git a/random/rndjent.c b/random/rndjent.c
411-
index 14d23794..e8850eec 100644
411+
index 0468c7cb..09413425 100644
412412
--- a/random/rndjent.c
413413
+++ b/random/rndjent.c
414414
@@ -43,7 +43,9 @@
@@ -419,8 +419,8 @@ index 14d23794..e8850eec 100644
419419
#include <unistd.h>
420420
+#endif
421421
#include <errno.h>
422-
423-
#include "types.h"
422+
#ifndef EOPNOTSUPP
423+
# define EOPNOTSUPP ENOSYS
424424
diff --git a/random/rndw32.c b/random/rndw32.c
425425
index b3f63d20..9407306b 100644
426426
--- a/random/rndw32.c
@@ -598,7 +598,7 @@ index da9948a6..257578d0 100644
598598
#include "g10lib.h"
599599
#include "mpi.h"
600600
diff --git a/src/fips.c b/src/fips.c
601-
index 89f8204b..a537ea42 100644
601+
index 5d71b208..deab6d76 100644
602602
--- a/src/fips.c
603603
+++ b/src/fips.c
604604
@@ -21,7 +21,9 @@
@@ -626,7 +626,7 @@ index 89f8204b..a537ea42 100644
626626
/* The name of the file used to force libgcrypt into fips mode. */
627627
#define FIPS_FORCE_FILE "/etc/gcrypt/fips_enabled"
628628
diff --git a/src/gcrypt.h.in b/src/gcrypt.h.in
629-
index b1364123..9fb4107c 100644
629+
index 58581daa..8d3b43c0 100644
630630
--- a/src/gcrypt.h.in
631631
+++ b/src/gcrypt.h.in
632632
@@ -34,7 +34,8 @@
@@ -640,7 +640,7 @@ index b1364123..9fb4107c 100644
640640
# endif /*!__GNUC__*/
641641
#endif /*_WIN32*/
642642
diff --git a/src/global.c b/src/global.c
643-
index 7cf40e4a..254283d9 100644
643+
index 873789cc..1ee04f78 100644
644644
--- a/src/global.c
645645
+++ b/src/global.c
646646
@@ -29,7 +29,9 @@

SMP/gcrypt.h

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* gcrypt.h - GNU Cryptographic Library Interface -*- c -*-
2-
* Copyright (C) 2012-2022 g10 Code GmbH
3-
* Copyright (C) 2013-2022 Jussi Kivilinna
2+
* Copyright (C) 2012-2023 g10 Code GmbH
3+
* Copyright (C) 2013-2023 Jussi Kivilinna
44
* Copyright (C) 1998-2018 Free Software Foundation, Inc.
55
*
66
* This file is part of Libgcrypt.
@@ -55,11 +55,11 @@ extern "C" {
5555
return the same version. The purpose of this macro is to let
5656
autoconf (using the AM_PATH_GCRYPT macro) check that this header
5757
matches the installed library. */
58-
#define GCRYPT_VERSION "1.10.1"
58+
#define GCRYPT_VERSION "1.10.2"
5959

6060
/* The version number of this header. It may be used to handle minor
6161
API incompatibilities. */
62-
#define GCRYPT_VERSION_NUMBER 0x010a01
62+
#define GCRYPT_VERSION_NUMBER 0x010a02
6363

6464

6565
/* Internal: We can't use the convenience macros for the multi
@@ -331,7 +331,11 @@ enum gcry_ctl_cmds
331331
GCRYCTL_SET_DECRYPTION_TAG = 80,
332332
GCRYCTL_FIPS_SERVICE_INDICATOR_CIPHER = 81,
333333
GCRYCTL_FIPS_SERVICE_INDICATOR_KDF = 82,
334-
GCRYCTL_NO_FIPS_MODE = 83
334+
GCRYCTL_NO_FIPS_MODE = 83,
335+
GCRYCTL_FIPS_SERVICE_INDICATOR_FUNCTION = 84,
336+
GCRYCTL_FIPS_SERVICE_INDICATOR_MAC = 85,
337+
GCRYCTL_FIPS_SERVICE_INDICATOR_MD = 86,
338+
GCRYCTL_FIPS_SERVICE_INDICATOR_PK_FLAGS = 87
335339
};
336340

337341
/* Perform various operations defined by CMD. */
@@ -1077,7 +1081,8 @@ gcry_error_t gcry_cipher_checktag (gcry_cipher_hd_t hd, const void *intag,
10771081
cipher handle H. */
10781082
#define gcry_cipher_sync(h) gcry_cipher_ctl( (h), GCRYCTL_CFB_SYNC, NULL, 0)
10791083

1080-
/* Enable or disable CTS in future calls to gcry_encrypt(). CBC mode only. */
1084+
/* Enable or disable CTS in future calls to gcry_cipher_encrypt().
1085+
* CBC mode only. */
10811086
#define gcry_cipher_cts(h,on) gcry_cipher_ctl( (h), GCRYCTL_SET_CBC_CTS, \
10821087
NULL, on )
10831088

SMP/version.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/* Define to the version of this package. */
2-
#define PACKAGE_VERSION "1.10.1"
2+
#define PACKAGE_VERSION "1.10.2"
33

44
/* Version of this package */
5-
#define VERSION "1.10.1"
5+
#define VERSION "1.10.2"
66

77
/* GIT commit id revision used to build this package */
8-
#define BUILD_REVISION "ae0e567"
8+
#define BUILD_REVISION "1c5cbac"
99

1010
/* The time this package was configured for a build */
11-
#define BUILD_TIMESTAMP "2022-04-16T04:58+0000"
11+
#define BUILD_TIMESTAMP "2023-05-20T16:04+0000"

SMP/versioninfo.rc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818

1919

2020
VS_VERSION_INFO VERSIONINFO
21-
FILEVERSION 1,10,1,44558
22-
PRODUCTVERSION 1,10,1,44558
21+
FILEVERSION 1,10,2,7260
22+
PRODUCTVERSION 1,10,2,7260
2323
FILEFLAGSMASK 0x3fL
2424
#ifdef _DEBUG
2525
FILEFLAGS 0x21L
@@ -37,15 +37,15 @@ BEGIN
3737
VALUE "Comments", "Provided under the terms of the GNU Lesser General Public License (LGPLv2.1+).\0"
3838
VALUE "CompanyName", "g10 Code GmbH\0"
3939
VALUE "FileDescription", "Libgcrypt - The GNU Crypto Library\0"
40-
VALUE "FileVersion", "24.4.1.ae0e567\0"
40+
VALUE "FileVersion", "24.4.2.1c5cbac\0"
4141
VALUE "InternalName", "libgcrypt\0"
42-
VALUE "LegalCopyright", "Copyright � 2022 g10 Code GmbH\0"
42+
VALUE "LegalCopyright", "Copyright � 2023 g10 Code GmbH\0"
4343
VALUE "LegalTrademarks", "\0"
4444
VALUE "OriginalFilename", "libgcrypt.dll\0"
4545
VALUE "PrivateBuild", "\0"
4646
VALUE "ProductName", "libgcrypt\0"
47-
VALUE "ProductVersion", "1.10.1\0"
48-
VALUE "SpecialBuild", "2022-04-16T04:58+0000\0"
47+
VALUE "ProductVersion", "1.10.2\0"
48+
VALUE "SpecialBuild", "2023-05-20T16:04+0000\0"
4949
END
5050
END
5151
END

0 commit comments

Comments
 (0)