[vlc-commits] Public keys should be constant data
Rafaël Carré
git at videolan.org
Mon Sep 10 15:06:09 CEST 2012
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Mon Sep 10 14:57:05 2012 +0200| [ecb0421854e16ddb7a32d716a3565440378c5672] | committer: Rafaël Carré
Public keys should be constant data
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ecb0421854e16ddb7a32d716a3565440378c5672
---
include/vlc_pgpkey.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/vlc_pgpkey.h b/include/vlc_pgpkey.h
index 5ebbda3..a9a3071 100644
--- a/include/vlc_pgpkey.h
+++ b/include/vlc_pgpkey.h
@@ -14,12 +14,12 @@
* expirates on 2013-01-31
*/
-static uint8_t videolan_public_key_longid[8] = {
+static const uint8_t videolan_public_key_longid[8] = {
0xA7, 0x41, 0x54, 0x9F, 0x59, 0xED, 0x29, 0x87
};
/* gpg --export --armor "<id>"|sed -e s/^/\"/ -e s/\$/\\\\n\"/ */
-static uint8_t videolan_public_key[] = {
+static const uint8_t videolan_public_key[] = {
"-----BEGIN PGP PUBLIC KEY BLOCK-----\n"
"Version: GnuPG v1.4.11 (GNU/Linux)\n"
"\n"
More information about the vlc-commits
mailing list