aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/doc/src/crypto.xml
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2014-02-19 16:32:12 +0100
committerSverker Eriksson <[email protected]>2014-02-19 16:32:12 +0100
commit8c17e706e212b859f1a248f43c8091e8d541b08e (patch)
tree39bb2de5f3d2c11cb9bbb20144e56486d710171d /lib/crypto/doc/src/crypto.xml
parent9fbb7a9a72a9b9f2bc12aebdbc89cac4bcd21873 (diff)
parent651b949d85f847318ece301b64c099ad7959e9d0 (diff)
downloadotp-8c17e706e212b859f1a248f43c8091e8d541b08e.tar.gz
otp-8c17e706e212b859f1a248f43c8091e8d541b08e.tar.bz2
otp-8c17e706e212b859f1a248f43c8091e8d541b08e.zip
Merge branch 'sverk/crypto/hmac-context-reuse-bug'
OTP-11722 OTP-11724 * sverk/crypto/hmac-context-reuse-bug: crypto: Fix bug when using old hmac context erts: Fix NIF bug when load/upgrade fails after enif_open_resource_type Conflicts: erts/emulator/test/nif_SUITE.erl
Diffstat (limited to 'lib/crypto/doc/src/crypto.xml')
-rw-r--r--lib/crypto/doc/src/crypto.xml8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/crypto/doc/src/crypto.xml b/lib/crypto/doc/src/crypto.xml
index 40f829e704..c95827c371 100644
--- a/lib/crypto/doc/src/crypto.xml
+++ b/lib/crypto/doc/src/crypto.xml
@@ -4,7 +4,7 @@
<erlref>
<header>
<copyright>
- <year>1999</year><year>2013</year>
+ <year>1999</year><year>2014</year>
<holder>Ericsson AB. All Rights Reserved.</holder>
</copyright>
<legalnotice>
@@ -366,7 +366,11 @@
or to one of the functions <seealso marker="#hmac_final-1">hmac_final</seealso> and
<seealso marker="#hmac_final_n-2">hmac_final_n</seealso>
</p>
-
+ <warning><p>Do not use a <c>Context</c> as argument in more than one
+ call to hmac_update or hmac_final. The semantics of reusing old contexts
+ in any way is undefined and could even crash the VM in earlier releases.
+ The reason for this limitation is a lack of support in the underlying
+ OpenSSL API.</p></warning>
</desc>
</func>