Yes Finland made it a hard commitment right from the start with Nazi Germany, that they would fight the Soviets only to their former border, only to reclaim what the Soviets had taken.
The Nazis were the only ones with the capability, who were willing to help Finland. There was a famous picture at the time of the Finnish leader with Hitler - the Finn visibly disgusted with him.
The Finns used the Nazis, in much the same way Franco did.