Skip to content

Commit 37f4c13

Browse files
committed
Moved the eccSignRawDigestCb member from the middle of the struct to the end to maintain ABI compatibility
1 parent 8e2e6d1 commit 37f4c13

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

wolfssl/wolfcrypt/pkcs7.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -354,10 +354,6 @@ struct wc_PKCS7 {
354354
CallbackRsaSignRawDigest rsaSignRawDigestCb;
355355
#endif
356356

357-
#if defined(HAVE_PKCS7_ECC_RAW_SIGN_CALLBACK) && defined(HAVE_ECC)
358-
CallbackEccSignRawDigest eccSignRawDigestCb;
359-
#endif
360-
361357
/* used by DecodeEnvelopedData with multiple encrypted contents */
362358
byte* cachedEncryptedContent;
363359
word32 cachedEncryptedContentSz;
@@ -388,6 +384,10 @@ struct wc_PKCS7 {
388384

389385
CallbackAESKeyWrapUnwrap aesKeyWrapUnwrapCb;
390386

387+
#if defined(HAVE_PKCS7_ECC_RAW_SIGN_CALLBACK) && defined(HAVE_ECC)
388+
CallbackEccSignRawDigest eccSignRawDigestCb;
389+
#endif
390+
391391
/* !! NEW DATA MEMBERS MUST BE ADDED AT END !! */
392392
};
393393

0 commit comments

Comments
 (0)