2003-08-20 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Wed, 20 Aug 2003 16:53:40 +0000 (16:53 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Wed, 20 Aug 2003 16:53:40 +0000 (16:53 +0000)
commite8cf79c977f81a53487e37d4b284f6f4796617c8
tree9781a4ae4a01c053a2a5bcebd324911fe8b73596
parente3cdba838618c83e87910150d6f292d06ba65b9b
2003-08-20  Marcus Brinkmann  <marcus@g10code.de>

* encrypt.c (encode_session_key): Allocate enough space.  Cast key
byte to unsigned char to prevent sign extension.
(encrypt_dek): Check return value before error.
sm/ChangeLog
sm/encrypt.c