spacemonkeygo / openssl

OpenSSL bindings for Go
http://godoc.org/github.com/spacemonkeygo/openssl
Apache License 2.0
473 stars 236 forks source link

func (ctx *cipherCtx) SetPadding(pad bool) not available on interface CipherCtx #137

Open seavin opened 4 years ago

seavin commented 4 years ago

the function func (ctx *cipherCtx) SetPadding(pad bool) was created in ciphers.go ,but its not accessible from CipherCtx and all child like EncryptionCipherCtx & DecryptionCipherCtx. would you please add the function to interface CipherCtx ? thanks

sashayakovtseva commented 3 years ago

I needed this as well and here's what I came across: https://github.com/spacemonkeygo/openssl/pull/99#issuecomment-413702691