Archive of December 2015

Sunday 20 December, 2015 om 17.07 door Ad  

Fighting the dll hell of Windows

hellAt first sight it looks sensible to put all functions your application needs inside your application. However, it would make your application very big and very difficult to manage. Whenever there is a function that you use - like printing something or saving a file - is being updated by the operating system you have to rebuild and relink your application. That is crazy. So thousands of mundane functions are supplied by the operating system and the only thing your application does is calling them. Software development kits supplied by the company that is responsible for the operating system in question will tell the developer how to use these system functions. >> >>

Sunday 20 December, 2015 om 14.45 door Ad  

Prevent and detect source code tampering

hackerThese days the security professionals are upset about two malicious vulnerabilities found in the firewalls of ScreenOS, a product of Juniper. Wild speculations are put forward as to who did it, when it was done, how it was done and where it was it done. The two problems appear to be of the form of a backdoor. Exactly the type of backdoor security agencies like NSA want to have installed by US software companies. >> >>

Wednesday 9 December, 2015 om 12.44 door Ad  

Compiling OpenSSL on Windows (msvc)

visual_studiolpngThe present post is a recipe for building the static and dynamic OpenSSL libraries for all versions of OpenSSL on the Windows platform, viz. msvc32 and msvc64. We are using the Microsoft Visual Studio 2013 C++ compiler. In another posts we treat the mingw (Minimal GNU for Windows) toolchain. Our goal is to have in the end the following libraries (each for 32bit and 64bit that all have 32 in their name even then 64bit versions): >> >>

Monday 7 December, 2015 om 13.40 door Ad  

Undefined reference to WinMain@16 when compiling OpenSSL

The error message as given in the title occurs regularly when compiling OpenSSL. In our case the cause was always the incorrect decompressing of file links of the source tarball with a Windows zip utility. Use the GNU tar and these problems will be gone. >> >>

Monday 7 December, 2015 om 13.34 door Ad  

Preventing character replacements by WordPress

Many WordPress users write their posts with the TinyMCE editor. This editor has two view options: (i) Visual and (ii) Text  In the text view all kind of html can be embedded in the post. Unfortunately when saving the edited files there is a lot of filtering going on by WordPress and as result some characters or new lines have been replaced or removed. For good reasons but not always for good reasons. >> >>