Changeset 238588 in webkit


Ignore:
Timestamp:
Nov 27, 2018 4:26:09 PM (5 years ago)
Author:
jiewen_tan@apple.com
Message:

Remove kCCNotVerified
https://bugs.webkit.org/show_bug.cgi?id=192034
<rdar://problem/46235863>

Reviewed by Alexey Proskuryakov.

No change of behaviours.

  • crypto/CommonCryptoUtilities.h:
  • crypto/mac/CryptoAlgorithmRSASSA_PKCS1_v1_5Mac.cpp:

(WebCore::verifyRSASSA_PKCS1_v1_5):

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r238583 r238588  
     12018-11-27  Jiewen Tan  <jiewen_tan@apple.com>
     2
     3        Remove kCCNotVerified
     4        https://bugs.webkit.org/show_bug.cgi?id=192034
     5        <rdar://problem/46235863>
     6
     7        Reviewed by Alexey Proskuryakov.
     8
     9        No change of behaviours.
     10
     11        * crypto/CommonCryptoUtilities.h:
     12        * crypto/mac/CryptoAlgorithmRSASSA_PKCS1_v1_5Mac.cpp:
     13        (WebCore::verifyRSASSA_PKCS1_v1_5):
     14
    1152018-11-27  Simon Fraser  <simon.fraser@apple.com>
    216
  • trunk/Source/WebCore/crypto/CommonCryptoUtilities.h

    r237721 r238588  
    7272};
    7373typedef uint32_t CCAsymmetricPadding;
    74 
    75 enum {
    76     kCCNotVerified = -4306
    77 };
    7874#endif
    7975
  • trunk/Source/WebCore/crypto/mac/CryptoAlgorithmRSASSA_PKCS1_v1_5Mac.cpp

    r221665 r238588  
    7878    if (!status)
    7979        return true;
    80     if (status == kCCNotVerified || status == kCCDecodeError) // <rdar://problem/15464982> CCRSACryptorVerify returns kCCDecodeError instead of kCCNotVerified sometimes
     80    if (status == kCCDecodeError)
    8181        return false;
    8282
Note: See TracChangeset for help on using the changeset viewer.