• davidben's avatar
    Fix overzealous CHECK in custom EC_KEYs. · 22c8bddb
    davidben authored
    If any EC_KEY with EX_DATA is duplicated, whether or not it is one of ours,
    ExDataDup may get called. This is unlikely to ever happen (I don't think
    we ever dup any EC_KEY on the client, and dup_ex_data has a fast-path if
    the EX_DATA has never been touched anyway), but the CHECK is a little
    overzealous.
    
    BUG=none
    
    Review URL: https://codereview.chromium.org/506813002
    
    Cr-Commit-Position: refs/heads/master@{#292210}
    22c8bddb
openssl_platform_key_mac.cc 13.7 KB