Changeset 40289 in project


Ignore:
Timestamp:
07/19/21 17:15:23 (2 months ago)
Author:
Vasilij Schneidermann
Message:

openssl: Disable CCM tests for OpenSSL<1.1.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/5/openssl/trunk/tests/cipher-test.scm

    r40283 r40289  
     1(define openssl-1.1.1 #x10101000)
     2
    13(define aes-128-ecb (cipher-by-name "aes-128-ecb"))
    24(define aes-128-cbc (cipher-by-name "aes-128-cbc"))
     
    126128              (string-decrypt-and-verify aes-128-gcm ciphertext tag key iv auth-data: auth-data))))))
    127129
    128 (when aes-128-ccm
     130;; https://github.com/openssl/openssl/pull/2550#discussion_r99657275
     131(when (and aes-128-ccm (>= (openssl-version-number) openssl-1.1.1))
    129132  (let ((key (string->blob "\x40\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f")))
    130133    (let* ((plaintext "\x20\x21\x22\x23")
Note: See TracChangeset for help on using the changeset viewer.