History log of /openbsd/usr.sbin/smtpd/crypto.c (Results 1 – 10 of 10)
Revision Date Author Comments
# d3140113 14-Jun-2021 eric <eric@openbsd.org>

add required headers for smtpd.h and remove unnecessary ones in other files.

ok jung@


# 1997d66f 23-Jan-2021 rob <rob@openbsd.org>

Remove unused variables found by clang. Additional unused var spotted by eric@.

OK mvs@, eric@


# df69c215 28-Jun-2019 deraadt <deraadt@openbsd.org>

When system calls indicate an error they return -1, not some arbitrary
value < 0. errno is only updated in this case. Change all (most?)
callers of syscalls to follow this better, and let's see if

When system calls indicate an error they return -1, not some arbitrary
value < 0. errno is only updated in this case. Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.

show more ...


# 3f5a5083 24-May-2019 gilles <gilles@openbsd.org>

switch from having automatic EVP_CIPHER_CTX variables to allocating them
with EVP_CIPHER_CTX_new() and releasing them with EVP_CIPHER_CTX_free().

ok sunil@ and millert@


# e0984f8d 03-Sep-2016 gilles <gilles@openbsd.org>

switch from EVP_{En,De}cryptInit & EVP_{En,De}cryptFinal to their _ex
counterparts, as suggested by bcook

ok bcook@, sunil@, eric@


# e459d0ce 28-Dec-2015 jung <jung@openbsd.org>

remove spaces after '!'

no binary change

ok millert


# c1392a69 26-Dec-2013 eric <eric@openbsd.org>

bcopy -> memmove
bzero -> memset


# a0b41ecc 22-Jul-2013 eric <eric@openbsd.org>

fix bogus warning due to limited range on 32bit archs.


# d91cf57c 19-Jul-2013 eric <eric@openbsd.org>

unused variable


# 194421e5 04-May-2013 gilles <gilles@openbsd.org>

Add crypto.c to provide smtpd with a way to encrypt envelopes and messages
using aes-256-gcm before they hit the queue. not "plugged" yet.

lots of comments from mikeb, tedu and djm.