diff options
author | lloyd <[email protected]> | 2009-03-30 18:27:18 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-03-30 18:27:18 +0000 |
commit | 96d6eb6f29c55e16a37cf11899547886f735b065 (patch) | |
tree | 9f13901e9b44c98d58b2589c9b09c6a7443eb7cd /src/kdf/ssl_prf | |
parent | 3cc3dd72c5f87b76852a55c1f2d1821dba967d8c (diff) |
Thomas Moschny passed along a request from the Fedora packagers which came
up during the Fedora submission review, that each source file include some
text about the license. One handy Perl script later and each file now has
the line
Distributed under the terms of the Botan license
after the copyright notices.
While I was in there modifying every file anyway, I also stripped out the
remainder of the block comments (lots of astericks before and after the
text); this is stylistic thing I picked up when I was first learning C++
but in retrospect it is not a good style as the structure makes it harder
to modify comments (with the result that comments become fewer, shorter and
are less likely to be updated, which are not good things).
Diffstat (limited to 'src/kdf/ssl_prf')
-rw-r--r-- | src/kdf/ssl_prf/prf_ssl3.cpp | 22 | ||||
-rw-r--r-- | src/kdf/ssl_prf/prf_ssl3.h | 16 |
2 files changed, 21 insertions, 17 deletions
diff --git a/src/kdf/ssl_prf/prf_ssl3.cpp b/src/kdf/ssl_prf/prf_ssl3.cpp index 3d4444613..2b67644d2 100644 --- a/src/kdf/ssl_prf/prf_ssl3.cpp +++ b/src/kdf/ssl_prf/prf_ssl3.cpp @@ -1,7 +1,9 @@ -/************************************************* -* SSLv3 PRF Source File * -* (C) 2004-2006 Jack Lloyd * -*************************************************/ +/* +* SSLv3 PRF +* (C) 2004-2006 Jack Lloyd +* +* Distributed under the terms of the Botan license +*/ #include <botan/prf_ssl3.h> #include <botan/symkey.h> @@ -14,9 +16,9 @@ namespace Botan { namespace { -/************************************************* -* Return the next inner hash * -*************************************************/ +/* +* Return the next inner hash +*/ OctetString next_hash(u32bit where, u32bit want, HashFunction& md5, HashFunction& sha1, const byte secret[], u32bit secret_len, @@ -42,9 +44,9 @@ OctetString next_hash(u32bit where, u32bit want, } -/************************************************* -* SSL3 PRF * -*************************************************/ +/* +* SSL3 PRF +*/ SecureVector<byte> SSL3_PRF::derive(u32bit key_len, const byte secret[], u32bit secret_len, const byte seed[], u32bit seed_len) const diff --git a/src/kdf/ssl_prf/prf_ssl3.h b/src/kdf/ssl_prf/prf_ssl3.h index b8f498832..165fc7c3c 100644 --- a/src/kdf/ssl_prf/prf_ssl3.h +++ b/src/kdf/ssl_prf/prf_ssl3.h @@ -1,7 +1,9 @@ -/************************************************* -* SSLv3 PRF Header File * -* (C) 1999-2007 Jack Lloyd * -*************************************************/ +/* +* SSLv3 PRF +* (C) 1999-2007 Jack Lloyd +* +* Distributed under the terms of the Botan license +*/ #ifndef BOTAN_SSLV3_PRF_H__ #define BOTAN_SSLV3_PRF_H__ @@ -10,9 +12,9 @@ namespace Botan { -/************************************************* -* SSL3 PRF * -*************************************************/ +/* +* SSL3 PRF +*/ class BOTAN_DLL SSL3_PRF : public KDF { public: |