]> git.sesse.net Git - vlc/commitdiff
Public keys should be constant data
authorRafaël Carré <funman@videolan.org>
Mon, 10 Sep 2012 12:57:05 +0000 (14:57 +0200)
committerRafaël Carré <funman@videolan.org>
Mon, 10 Sep 2012 13:05:32 +0000 (15:05 +0200)
include/vlc_pgpkey.h

index 5ebbda3aa29d36438f1d71d21ee8f5f372d346e9..a9a30716ea7ad6c7454d4f58430880dc64e1f385 100644 (file)
  * 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"