Skip to content

Add support for default PHP padding : "OPENSSL_PKCS1_PADDING" #10

@mgcrea

Description

@mgcrea

Would be awesome as i'm stuck on this on a project (using PHP on the server side).
PHP : http://php.net/manual/en/function.openssl-public-encrypt.php

Tried to manually replace occurrences of OPENSSL_PKCS1_PADDING with it.

But i get a build error node-waf configure build :

../node_rsa.cc:310: error: ‘OPENSSL_PKCS1_PADDING’ was not declared in this scope

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions