PR #188 changes PKCS11_generate_key to call C_GenerateKeyPair() instead of generating the keys in software and storing them to the HSM. It removes the DEPRECATED warning from PKCS11_generate_key.
However in c1c2753#diff-887ce845c19283ef442b0ee4b98a686c73a13d5988b452f0577dd96f6c48f876R439 the routine becomes re-marked as deprecated, was that intentional?