diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-08-23 16:17:47 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-08-23 16:17:47 +0000 |
commit | 766d41f8bf91a6d209c66e8fd12dbd6688ce2739 (patch) | |
tree | 12552a0788d42ac73e7260b883aa84a8045e957a /src/wydawca.h | |
parent | c7e791e9563b7805fc7a375bc7e616b4252a9c57 (diff) | |
download | wydawca-766d41f8bf91a6d209c66e8fd12dbd6688ce2739.tar.gz wydawca-766d41f8bf91a6d209c66e8fd12dbd6688ce2739.tar.bz2 |
Improve safety checks; implement symlink/rmsymlink/archive directives; Fix directive signature verification.
git-svn-id: file:///svnroot/wydawca/trunk@286 6bb4bd81-ecc2-4fd4-a2d4-9571d19c0d33
Diffstat (limited to 'src/wydawca.h')
-rw-r--r-- | src/wydawca.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wydawca.h b/src/wydawca.h index 918f6e0..cb42357 100644 --- a/src/wydawca.h +++ b/src/wydawca.h @@ -1,4 +1,4 @@ -/* wydawca - FTP release synchronisation daemon +/* wydawca - FTP release synchronization daemon Copyright (C) 2007 Sergey Poznyakoff This program is free software; you can redistribute it and/or modify it @@ -199,7 +199,8 @@ void method_copy_result (struct access_method *method, const char *res, size_t size); /* Verification functions */ -int verify_triplet (struct file_triplet *trp, struct directory_pair *dpair); +int verify_directive_file (struct file_triplet *trp, + struct directory_pair *dpair); int verify_directive_signature (struct file_triplet *trp, struct directory_pair *dpair, const char *pubkey); |