PKCS#11 hashes for cards without RAW (see #241)
PKCS#11 hashes for cards without RAW (see #241)

    The framework-pkcs15.c did not add hashes correctly if the card did not support RSA RAW.
    This change fixes that and only adds hashes if the card did not specify a list of hashes.
    It also will not add hashes done in software if ENABLE_OPENSSL is not specified.
    Some error conditions are also tested for EC mechanisms.

    See bug report #241 for more information.

ieugen/OpenSC,rickyepoderi/OpenSC,dirkx/OpenSC.tokend,mtrojnar/OpenSC,metsma/OpenSC,hongquan/OpenSC-main,mtrojnar/OpenSC,Jakuje/OpenSC,dirkx/OpenSC.tokend,hhonkanen/OpenSC,mouse07410/OpenSC,frankmorgner/OpenSC,dirkx/OpenSC.tokend,ieugen/OpenSC,velter/OpenSC,dirkx/OpenSC,carlhoerberg/OpenSC,fabled/OpenSC,kasparsd/opensc-latvia-id,germanblanco/OpenSC,AktivCo/OpenSC,l1k/OpenSC,velter/OpenSC,tidatida/OpenSC,dirkx/OpenSC.tokend,UIKit0/OpenSC,l1k/OpenSC,dirkx/OpenSC.tokend,0x7678/OpenSC,marschap/pkg-opensc,philipWendland/OpenSC,dengert/OpenSC,jpki/OpenSC,martinpaljak/OpenSC,viktorTarasov/OpenSC-SM,tidatida/OpenSC,marschap/pkg-opensc,UIKit0/OpenSC,jpki/OpenSC,adminmt/OpenSC,LudovicRousseau/OpenSC,gemini/OpenSC,mouse07410/OpenSC,hhonkanen/OpenSC,philipWendland/OpenSC,aobaid/OpenSC,adminmt/OpenSC,aobaid/OpenSC,CardContact/OpenSC,rickyepoderi/OpenSC,dirkx/OpenSC.tokend,tidatida/OpenSC,kasparsd/opensc-latvia-id,gemini/OpenSC,0x7678/OpenSC,aobaid/OpenSC,dirkx/OpenSC,viktorTarasov/OpenSC-SM,tidatida/OpenSC,aobaid/OpenSC,0x7678/OpenSC,l1k/OpenSC,gemini/OpenSC,nmav/OpenSC,AktivCo/OpenSC,OpenSC/OpenSC,rickyepoderi/OpenSC,carlhoerberg/OpenSC,frankmorgner/OpenSC,carlhoerberg/OpenSC,mtrojnar/OpenSC,CardContact/OpenSC,CardContact/OpenSC,Jakuje/OpenSC,financeX/OpenSC,jpki/OpenSC,metsma/OpenSC,mouse07410/OpenSC,velter/OpenSC,fabled/OpenSC,UIKit0/OpenSC,LudovicRousseau/OpenSC,fabled/OpenSC,dirkx/OpenSC,0x7678/OpenSC,marschap/pkg-opensc,financeX/OpenSC,frankmorgner/OpenSC,UIKit0/OpenSC,germanblanco/OpenSC,nmav/OpenSC,kasparsd/opensc-latvia-id,ieugen/OpenSC,kasparsd/opensc-latvia-id,ieugen/OpenSC,viktorTarasov/OpenSC-SM,ieugen/OpenSC,dirkx/OpenSC,marschap/pkg-opensc,financeX/OpenSC,philipWendland/OpenSC,dengert/OpenSC,martinpaljak/OpenSC,OpenSC/OpenSC,nmav/OpenSC,hongquan/OpenSC-main,Jakuje/OpenSC,dengert/OpenSC,velter/OpenSC,dirkx/OpenSC,fabled/OpenSC,metsma/OpenSC,carlhoerberg/OpenSC,LudovicRousseau/OpenSC,germanblanco/OpenSC,adminmt/OpenSC,hhonkanen/OpenSC,AktivCo/OpenSC,hongquan/OpenSC-main,martinpaljak/OpenSC,OpenSC/OpenSC,adminmt/OpenSC,carlhoerberg/OpenSC,financeX/OpenSC,frankmorgner/OpenSC,Jakuje/OpenSC,financeX/OpenSC