]> www.average.org Git - pam_pcsc_cr.git/blobdiff - ossl_crypto.c
initial PAM module
[pam_pcsc_cr.git] / ossl_crypto.c
index 79a80eff034efb8ea1a2330be284df968d85cf41..51594d3ddddf364e7384aa4e596ea600de3269c5 100644 (file)
@@ -47,7 +47,7 @@ static unsigned long ossl_hash(void *pt, int tlen, void *tag, int *taglen)
        return 0UL;
 }
 
-static unsigned long ossl_hmac(void *pt, int tlen, void *key, int keylen,
+static unsigned long ossl_hmac(void *key, int keylen, void *pt, int tlen,
                        void *tag, int *taglen)
 {
 #if 1