VirtualBox

Ignore:
Timestamp:
Feb 15, 2016 10:36:49 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
105552
Message:

IPRT/pkix-verify.cpp: rhel5 (openssl < 1.0.0) build fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/crypto/pkix-verify.cpp

    r59694 r59695  
    3939# include "internal/iprt-openssl.h"
    4040# include "openssl/evp.h"
     41# ifndef OPENSSL_VERSION_NUMBER
     42#  error "Missing OPENSSL_VERSION_NUMBER!"
     43# endif
    4144#endif
    4245
     
    227230    RTCrPkixSignatureRelease(hSignature);
    228231
    229 #ifdef IPRT_WITH_OPENSSL
     232#if defined(IPRT_WITH_OPENSSL) \
     233  && (OPENSSL_VERSION_NUMBER > 0x10000000L) /* 0.9.8 doesn't seem to have EVP_PKEY_CTX_set_signature_md. */
    230234    /*
    231235     * Validate using OpenSSL EVP.
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette