security/nss/tests/jss_dll_version.sh

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rwxr-xr-x

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 #!/bin/sh
     3 # version controll for DLLs
     4 # ToDo: make version parameter or find version from first occurance of 3.x
     5 # make the 3 a variable..., include the header
     7 for w in `find . -name "libjss3.s[ol]"`
     8 do
     9         NOWHAT=FALSE
    10         NOIDENT=FALSE
    11         echo $w
    12         what $w | grep JSS || NOWHAT=TRUE
    13         ident $w | grep JSS || NOIDENT=TRUE
    14         if [ $NOWHAT = TRUE ]
    15         then
    16                 echo "ERROR what $w does not contain JSS"
    17         fi
    18         if [ $NOIDENT = TRUE ]
    19         then
    20                 echo "ERROR ident $w does not contain JSS"
    21         fi
    22 done

mercurial